package com.system.mapper;

import com.system.entity.SysUserEntity;
import com.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 用户信息表
 *
 * @author yangzhan
 * @email *****@mail.com
 * @date 2022-04-06 21:52:31
 */
@Repository
public interface SysUserMapper {

    /**
     * 数据添加
     */

    Integer sysUserAdd(SysUserEntity sysUserEntity);

    /**
     * 删除与批量删除
     */
    void sysUserDel(List<Integer> ids);

    /**
     * 更新
     */
    Integer sysUserUpById(SysUserEntity sysUserEntity);


    /**
     * 查询单条数据
     */
    SysUserEntity sysUserGetById(String id);


    /**
     * 数据个数
     */

    Integer sysUserSelCount();


    /**
     * 查询数据
     */
    List<SysUserEntity> sysUserSelectListByPage(SysUserEntity sysUserEntity);


    UserVO sysUserVOGetById(String userName);
}

